Skip to content

Add InfluxDB batch size attribute#19007

Closed
trask wants to merge 1 commit into
open-telemetry:mainfrom
trask:influxdb-batch-size
Closed

Add InfluxDB batch size attribute#19007
trask wants to merge 1 commit into
open-telemetry:mainfrom
trask:influxdb-batch-size

Conversation

@trask

@trask trask commented Jun 15, 2026

Copy link
Copy Markdown
Member

Summary

  • emit stable db.operation.batch.size for InfluxDB multi-point write spans
  • report stable batch write operations as BATCH write
  • split write advice from create/delete advice so batch-size extraction is scoped to write overloads

Testing

  • git diff --check -- instrumentation/influxdb-2.4/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/influxdb/v2_4/InfluxDbAttributesGetter.java instrumentation/influxdb-2.4/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/influxdb/v2_4/InfluxDbImplInstrumentation.java instrumentation/influxdb-2.4/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/influxdb/v2_4/InfluxDbOperation.java instrumentation/influxdb-2.4/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/influxdb/v2_4/InfluxDbClientTest.java instrumentation/influxdb-2.4/javaagent/src/test24/java/io/opentelemetry/javaagent/instrumentation/influxdb/v2_4/InfluxDbClient24Test.java
  • ./gradlew :instrumentation:influxdb-2.4:javaagent:spotlessCheck :instrumentation:influxdb-2.4:javaagent:compileTestJava :instrumentation:influxdb-2.4:javaagent:compileTest24Java

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@trask

trask commented Jun 15, 2026

Copy link
Copy Markdown
Member Author

Closing, I don't think this really meets the semconv spirit of batch operations

@trask trask closed this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants